<?php

use yii\helpers\Html;
use yii\widgets\ActiveForm;

?>
<!-- 调节文本框大小 -->
<div class="row">
<div class="col-lg-4">

    <center>
      <h1><font color='black'>邮箱发送</font></h1>
    </center>
<!-- 提交-->
      <?php $form = ActiveForm::begin(['options' => ['enctype' => 'multipart/form-data']]); ?>

<!-- 邮箱框 -->

      <?= $form->field($model, 'email')->textInput(['placeholder'=>"请输入邮箱"])->label('') ?>

<div class="form-group">   

          <?= Html::submitButton('发送邮箱', ['class' => 'btn btn-primary']) ?>
          <a href="index.php?r=index/login">
          <?= Html::Button('去登录', ['class' => 'btn btn-primary']) ?></a>

</div>    

    <?php ActiveForm::end(); ?>

</div>         
</div>             